// TrackEditorDoc.h : interface of the CTrackEditorDoc class
//


#pragma once

#define NMAX_TRACKS 64

#define CARACTER_SIMBOLO_RETA_INICIO	'I'
#define CARACTER_SIMBOLO_RETA_NORMAL	'R'
#define CARACTER_SIMBOLO_CURVA_ESQUERDA	'E'
#define CARACTER_SIMBOLO_CURVA_DIREITA	'D'
#define CARACTER_SIMBOLO_FINAL_CIRCUITO	'F'

class CTrackEditorDoc : public CDocument
{
protected: // create from serialization only
	CTrackEditorDoc();
	DECLARE_DYNCREATE(CTrackEditorDoc)

// Attributes
public:

private:
	int iNTracks;
	char sTrack[NMAX_TRACKS];

// Operations
public:
	const char* GetTracks();

private:
	void OnInserirReta();
	void OnInserirCurvaEsquerda();
	void OnInserirCurvaDireita();

// Overrides
public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

// Implementation
public:
	virtual ~CTrackEditorDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};


